import numpy as np

arr = np.array([5, 6, 7, 8, 9])
arr = np.where(arr % 2 == 0, 100, arr)
print(arr)
